Repository navigation
Conversation
|
Hi @ueshin, could you take a look at this minor change? |
There was a problem hiding this comment.
hi @benrobby thanks for improving the docstring. Shall we leave the method name unchanged? Since we have no change on the underlying logic of these methods.
There was a problem hiding this comment.
Hi allison, it's true that this doesn't modify the logic, but I think that canEvaluateInPython is quite confusing. All UDFs here are eventually evaluable in Python, but it's in fact called recursively to find the first udf expression that needs to be extracted. So I think i would prefer to keep the name, unless you have strong objections
|
Would you add "[DOCS]" to the PR title? Thanks! |
There was a problem hiding this comment.
I think the term chain makes more sense because they are chained in Python workers when they are executed. Fuse sounds more like merging multiple functions into one function
There was a problem hiding this comment.
I would say both belows are examples unless we're absolutely sure that both are the only cases.
There was a problem hiding this comment.
chaining Let's don't mix the wording with fusing.
There was a problem hiding this comment.
i've renamed this to parallel chaining and nested chaining. Hope this this is more clear!
There was a problem hiding this comment.
I think this one is a little bit hard to follow. Would be much easier if we can put some ascii blocks and explanation.
There was a problem hiding this comment.
added a little query plan, hope this helps
HyukjinKwon
left a comment
There was a problem hiding this comment.
Makes sense in general. Let's keep the wording consistent, e.g., udf -> UDF. Would be much easier to read if we can put some ASCII blocks. e.g., see EvalPythonExec's ScalaDoc.
|
Thanks @HyukjinKwon, i hope that i have addressed your comments and suggestions |
HyukjinKwon
left a comment
There was a problem hiding this comment.
Looks fine. cc @allisonwang-db @ueshin
|
Merged to master. |
What changes were proposed in this pull request?
Why are the changes needed?
canChainUDFis actually used select eligibility to fuse parallel udf invocations likeudf1(), udf2().Does this PR introduce any user-facing change?
How was this patch tested?
Was this patch authored or co-authored using generative AI tooling?
No